package com.pay.domain.entity;

import com.pay.common.domain.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;

/**
 *
 * @author Evan
 * @date 2018/2/4
 */
@Entity
@EntityListeners(Province.class)
public class Province extends IdEntity {

    @Column(columnDefinition = "int(11) NOT NULL comment '省级代码' ")
    private Integer provinceCoce;

    @Column(columnDefinition = "varchar(255) NOT NULL comment '省名称'")
    private String provinceName;

    public Integer getProvinceCoce() {
        return provinceCoce;
    }

    public void setProvinceCoce(Integer provinceCoce) {
        this.provinceCoce = provinceCoce;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
}
